package com.jintoufs.domain.security;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

/**
 * 角色资源实体
 * 
 * @author fisher
 *
 */
public class RoleResource {

	private Integer roleId;
	private Integer resourceId;

	public RoleResource() {
		super();
	}

	public RoleResource(Integer roleId, Integer resourceId) {
		super();
		this.roleId = roleId;
		this.resourceId = resourceId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer getResourceId() {
		return resourceId;
	}

	public void setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}
